<%--
  Created by IntelliJ IDEA.
  User: Cat God 007
  Date: 2024/9/21
  Time: 11:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
  <meta charset="UTF-8">
  <title>修改品牌</title>
</head>
<body>
<h3>修改品牌</h3>
<form action="/Login_Web_exploded/updateBrandServlet2" method="post">
  <input type="hidden" name="id" value="${brand.id}" readonly>
  品牌名称：<input name="brandname" value="${brand.brandname}"><br>
  企业名称：<input name="companyname" value="${brand.companyname}"><br>
  排序：<input name="ordered" value="${brand.ordered}"><br>
  描述信息：<textarea rows="5" cols="33" name="description">${brand.description}</textarea><br>
  状态：
  <c:if test="${brand.status == 1}">
    <input type="radio" name="status" value="1" checked="checked">启用
    <input type="radio" name="status" value="0" >禁用
  </c:if>

  <c:if test="${brand.status != 1}">
    <input type="radio" name="status" value="1">启用
    <input type="radio" name="status" value="0" checked="checked">禁用
  </c:if>
  <br/>
  <input type="submit" value="提交">
</form>
</body>
</html>
